import { APlugin, TSelectRanage } from '../types/common.interface';
import { Injectable, PluginInjectable } from '../decorators/inject';
import { CellRenderEditManage } from '../cors/cell-render-edit-manage';
import { Text } from './cell-renders/text';

@Injectable()
@PluginInjectable('RenderEditorManagePlugin')
export class RenderEditorManagePlugin extends APlugin {
    constructor(
        protected cellRenderEditManage: CellRenderEditManage
    ) {
        super();
    }
    public init() {
        this.cellRenderEditManage.register(Text.type, Text.render, Text.editor);
    }
    public destroy() {
        
    }
}